<#import "/spring.ftl" as spring/>
<link rel="stylesheet" type="text/css" href="<@spring.url '/assets/css/bootstrap-table.css' />"  />
<script src="<@spring.url '/assets/js/bootstrap-table.js'/>"   ></script>
<script src="<@spring.url '/assets/js/bootstrap-table-zh-cn.js'/>" ></script>
<div class="row">
	 <div class="col-lg-12">
        <div class="ibox float-e-margins">
          	<div class="filterItems">
				    <form class="form-inline" onsubmit="return false;">
				      <div class="form-group">
				         <label for="realname">姓名:</label>
				         <input type="text" id="realname" >
				      </div>
				      <div class="form-group">
				        <label for="role">角色:</label>
				         <select class="form-control" id="role">
					        <option value=0>全部</option>
					        <#list roleList as role>
								<option value="${role.id}">${role.roleName}</option>
							</#list>
					      </select>
				      </div>
				      <div class="form-group">
				        <label for="privilege">权限:</label>
				        <select class="form-control" id="privilege">
				        	<option value=0>全部</option>
				        	<#list privilegeList as privilege>
								<option value="${privilege.id}">${privilege.priName}(${privilege.priKey})</option>
							</#list>
				        </select>
				      </div>
				      <button type="submit" class="btn btn-primary searchBtn " onclick="reloadDataTable()" style="margin-left:30px">查询</button>
				      <button  class="btn btn-default reset" style="margin-left:30px">重置</button>
				      <a href="/user/editUser?id=0" class="btn btn-primary innerPageLink" style="margin-left:30px">添加</a>
				    </form>
          	</div>
           <br>
            <div class="ibox-content">
                    <table id="table" class="display" cellspacing="0" width="100%"></table>
            </div>
        </div>
    </div>
</div>
<script src="<@spring.url '/assets/pagejs/user/user.js' />"></script>
